$OpenBSD: patch-frontend_gtkmm_src_Makefile_in,v 1.3 2011/09/13 07:50:51 jasper Exp $
--- frontend/gtkmm/src/Makefile.in.orig	Tue Sep 13 09:27:54 2011
+++ frontend/gtkmm/src/Makefile.in	Tue Sep 13 09:28:20 2011
@@ -2142,7 +2142,7 @@ resource.rc: resource.rc.in
 @HAVE_PYTHON_CHEETAH_TRUE@			$(top_srcdir)/common/bin/dbusgen.py \
 @HAVE_PYTHON_CHEETAH_TRUE@		    	$(top_srcdir)/common/bin/DBus-client-template.cc \
 @HAVE_PYTHON_CHEETAH_TRUE@		    	$(top_srcdir)/common/bin/DBus-client-template.hh
-@HAVE_PYTHON_CHEETAH_TRUE@			python $(top_srcdir)/common/bin/dbusgen.py --language=C++ -c $(srcdir)/gnome_applet/gnome-applet.xml DBUSGnomeApplet
+@HAVE_PYTHON_CHEETAH_TRUE@			${MODPY_BIN} $(top_srcdir)/common/bin/dbusgen.py --language=C++ -c $(srcdir)/gnome_applet/gnome-applet.xml DBUSGnomeApplet
 
 DBusGnomeApplet.hh:	DBusGnomeApplet.cc
 GnomeAppletWindow.cc:   DBusGnomeApplet.hh
@@ -2165,7 +2165,7 @@ GnomeAppletWindow.cc:   DBusGnomeApplet.hh
 @HAVE_APP_GTKMM_TRUE@@HAVE_DBUS_TRUE@@HAVE_PYTHON_CHEETAH_TRUE@			$(top_srcdir)/common/bin/dbusgen.py \
 @HAVE_APP_GTKMM_TRUE@@HAVE_DBUS_TRUE@@HAVE_PYTHON_CHEETAH_TRUE@			$(top_srcdir)/common/bin/DBus-template.cc \
 @HAVE_APP_GTKMM_TRUE@@HAVE_DBUS_TRUE@@HAVE_PYTHON_CHEETAH_TRUE@			$(top_srcdir)/common/bin/DBus-template.hh
-@HAVE_APP_GTKMM_TRUE@@HAVE_DBUS_TRUE@@HAVE_PYTHON_CHEETAH_TRUE@			python $(top_srcdir)/common/bin/dbusgen.py --language=C++ -s $(srcdir)/workrave-gui.xml DBusGUI
+@HAVE_APP_GTKMM_TRUE@@HAVE_DBUS_TRUE@@HAVE_PYTHON_CHEETAH_TRUE@			${MODPY_BIN} $(top_srcdir)/common/bin/dbusgen.py --language=C++ -s $(srcdir)/workrave-gui.xml DBusGUI
 
 @HAVE_APP_GTKMM_TRUE@@HAVE_DBUS_TRUE@@HAVE_PYTHON_CHEETAH_TRUE@DBusGUI.hh: 		DBusGUI.cc ; test -f $@
 
